import serve from "@/api/server";

//登录请求
export function login(data) {
    return serve({
        url:'/user/login',
        method:'post',
        data
    })
}

//获取会员信息
export function userInfo() {
    return serve({
        url:'/user/info',
        method:'get',
    })
}

//退出登录
export function logOut(){
    return serve({
        url:'/user/logout',
        method:'get'
    })
}



